package cn.iocoder.yudao.module.base.controller.admin.info.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 基础信息新增/修改 Request VO")
@Data
public class InfoSaveReqVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "15889")
    private Long id;

    @Schema(description = "服务地址", requiredMode = Schema.RequiredMode.REQUIRED, example = "https://www.iocoder.cn")
    @NotEmpty(message = "服务地址不能为空")
    private String serviceUrl;

    @Schema(description = "接口路径", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "接口路径不能为空")
    private String interfacePath;

    @Schema(description = "接口类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotEmpty(message = "接口类型不能为空")
    private String interfaceType;

    @Schema(description = "接口方法", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "接口方法不能为空")
    private String interfaceMethod;

    @Schema(description = "接口编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "接口编码不能为空")
    private String interfaceCode;

    @Schema(description = "Content-Type类型", example = "1")
    private String contentType;

    @Schema(description = "备注", example = "你猜")
    private String remark;

    private String catalogId;
    private String numberOfApplications;
    private String interfaceName;
    /**
     * 请求参数
     */
    private String requestExample;
    /**
     * 响应参数
     */
    private String responseExample;

    private String status;

}